require 'test/unit'
require 'Modele/Acces'
require 'Modele/Parking'
require 'Modele/Vehicule'
class VehiculeTest < Test::Unit::TestCase

  def test_vehicule_immat
    vehi = Vehicule.new("BX-306-JK")
    assert(vehi.immat == "BX-306-JK" ,"test_vehicule_immat fail")
  end
  
  
  def test_vehicule_hauteur
      vehi = Vehicule.new("BX-306-JK",90)
      assert(vehi.hauteur == 90 ,"test_vehicule_immat fail")
  end
  def test_vehicule_longueur
      vehi = Vehicule.new("BX-306-JK",90,150)
      assert(vehi.longueur == 150 ,"test_vehicule_immat fail")
  end
  
   
end  